package com.elai.baseconfig.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事件分组对象 event_team
 *
 * @author elai
 * @date 2021-04-23
 */
public class EventTeamDO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 分组编码 */
    @Excel(name = "分组编码")
    private String teamCode;

    /** 分组名称 */
    @Excel(name = "分组名称")
    private String teamName;

    /** 是否可用 */
    @Excel(name = "是否可用")
    private String status;




    private int typeCount;

    /** 租户ID */
    private String lesseeId;

    public String getLesseeId() {
        return lesseeId;
    }

    public void setLesseeId(String lesseeId) {
        this.lesseeId = lesseeId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }

    public void setTeamCode(String teamCode)
    {
        this.teamCode = teamCode;
    }
    public String getTeamCode()
    {
        return teamCode;
    }

    public void setTeamName(String teamName)
    {
        this.teamName = teamName;
    }
    public String getTeamName()
    {
        return teamName;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }
    public String getStatus()
    {
        return status;
    }


    public int getTypeCount() {
        return typeCount;
    }

    public void setTypeCount(int typeCount) {
        this.typeCount = typeCount;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teamCode", getTeamCode())
            .append("teamName", getTeamName())
            .append("status", getStatus())
            .toString();
    }
}
